<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppNewsPwd{
	public static $appName = '内容页正文输入密码可见';
	public static $appID = 43;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function InfoOptionBox2(){
	}

	public static function AppSysTrBox1($AS_newsPwdAnswer, $AS_newsPwdImg, $AS_newsPwdNote){
		return Adm::PluDefItem(self::$appName, '正文密码可见框密码');
	}

	public static function InfoTrBox($IF_pwdAnswer, $IF_pwdImg, $IF_pwdNote){
	}

	public static function InfoSysCheckItem($IS_addition){
	}

	public static function InfoCheckItem($IF_addition, $source='admin'){
		if ($source == 'admin'){ $pluImg = Area::PluSign(self::$appName, 'bottom'); }else{ $pluImg = ''; }
		if (in_array($source,array('qiantai','uc'))){
			$retStr = '';
		}else{
			$retStr = '
				<label style="color:#ccc;"><input type="checkbox" id="addition_pwd" name="addition[]" value="|checkPwd|" disabled="true" />输入密码可见[未购买]'. $pluImg .'</label>&ensp;&ensp;
				';
		}
		return $retStr;
	}

	public static function InfoReadItem($dataID, $webPathPart='', $IF_pwdImg='', $IF_pwdNote='', $mode='pc'){
		die('');
	}

	public static function InfoReadPassArr($dataID, $IF_pwdAnswer=''){
	}

	public static function Deal($mode='pc'){

	}

	public static function UcInfoCheckItem($IF_addition){
	}
}
?>